]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
fix incorrect variable name in _updateClock
authorDan Winship <danw@src.gnome.org>
Wed, 3 Dec 2008 18:27:48 +0000 (18:27 +0000)
committerDan Winship <danw@src.gnome.org>
Wed, 3 Dec 2008 18:27:48 +0000 (18:27 +0000)
svn path=/trunk/; revision=111

js/ui/panel.js

index cbbed8d4026e48a2630df42c94fbd225969fae08..7de27193e9bbd4be8c63b1b8868831f0b11e347e 100644 (file)
@@ -128,7 +128,7 @@ Panel.prototype = {
         let msec_remaining = 60000 - (1000 * display_date.getSeconds() +
                                       display_date.getMilliseconds());
         if (msec_remaining < 500) {
-            display_date.setMinutes(display_time.getMinutes() + 1);
+            display_date.setMinutes(display_date.getMinutes() + 1);
             msec_remaining += 60000;
         }
         this._clock.set_text(display_date.toLocaleFormat("%H:%M"));